<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
</head>
<body>
<form id="iform">
    <input type="text" id="x" value="9">
    <input type="text" id="y" value="9">
    <input type="text" id="l" value="10">
    <input type="text" id="time" value="时间">
<input type="button" value="提交" onClick="tijiao()">
</form>
<iframe frameborder="no" border="0" marginwidth="0" marginheight="0" width=298 height=52 src="http://music.163.com/outchain/player?type=2&id=5159522&auto=1&height=32"></iframe>
</body>
<script src="js/dom.js"></script>
<script src="js/foreachin.js"></script>
<script src="js/game.js"></script>
<script src="js/method.js"></script>
<script src="js/normalizeEvent.js"></script>
<script src="js/registerEventHandler.js"></script>
<script src="js/Point.js"></script>
<style type="text/css">@import url(css/main.css);</style>
<script>

function tijiao(){

    var game=new Game(document.getElementById("x").value,document.getElementById("y").value,document.getElementById("l").value);
    timedCount();
    console.log(document.getElementById("x").value,document.getElementById("y").value,document.getElementById("l").value)
}

var c=0
var t
function timedCount()
{
    document.getElementById('time').value=c
    c=c+1
    t=setTimeout("timedCount()",1000)
}

function stopCount()
{
    clearTimeout(t)
}


</script>
</html>